var express = require('express');
var router = express.Router();
//var CONFIG = require('../config.js');
var CONFIG = require('../../common/config');
var CODE = require('../../common/code');


var BASE_IP = CONFIG.BASE_IP;


//------------------------------------------------------------------

/* 获取广场数据. */
function getPlazaItems(req, res, next) {
    var obj = {
        ret:'success',status:'0',
        "data": [
            {
                "id": "1",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔",
                "userAddress": "武汉市武昌区",

                "praiseCount":12,
                "shareCount":23,
                "commentCount":43
            },
            {
                "id": "2",
                "image": BASE_IP + '/images/508983.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/508983.png',
                "userName": "涔涔",
                "userAddress": "武汉市武昌区",

                "praiseCount":2,
                "shareCount":4,
                "commentCount":2
            },
            {
                "id": "3",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔",
                "userAddress": "武汉市武昌区",

                "praiseCount":154,
                "shareCount":233,
                "commentCount":444
            },
            {
                "id": "4",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔",
                "userAddress": "武汉市武昌区",

                "praiseCount":1,
                "shareCount":3,
                "commentCount":4
            },
            {
                "id": "5",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔",
                "userAddress": "武汉市武昌区",

                "praiseCount":23,
                "shareCount":33,
                "commentCount":44
            },
            {
                "id": "6",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔",
                "userAddress": "武汉市武昌区",

                "praiseCount":12,
                "shareCount":23,
                "commentCount":43

            },
            {
                "id": "7",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔",
                "userAddress": "武汉市武昌区",

                "praiseCount":12,
                "shareCount":23,
                "commentCount":43
            }
        ]

    };
    res.set('Content-Type', 'application/json');
    res.json(obj);
}
router.get('/getPlazaItems', getPlazaItems);
router.post('/getPlazaItems', getPlazaItems);


//------------------------------------------------------------------

/* 获取评论数据. */
//参数
//      designId, 作品id
function getCommentItems(req, res, next) {
    var obj = {
        ret:'success',status:'0',
        "data": [
            {
                "id": "1",
                "content": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔"
            },
            {
                "id": "2",
                "content": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔"
            },
            {
                "id": "3",
                "content": "快乐儿童",
                "createDate": "2015-03-31 10:51",

                "userId": "26.800000",
                "userHeadImg": BASE_IP + '/images/1178012.png',
                "userName": "涔涔"
            },
        ]

    };
    res.set('Content-Type', 'application/json');
    res.json(obj);
}
router.get('/getCommentItems', getCommentItems);
router.post('/getCommentItems', getCommentItems);
//------------------------------------------------------------------

/* 获取个人作品列表数据. */

function getMyDesignItems(req, res, next) {
    var obj = {
        ret:'success',status:'0',
        "data": [
            {
                "id": "1",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",
                "status":"已发布"
            },
            {
                "id": "2",
                "image": BASE_IP + '/images/508983.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",
                "status":"已发布"
            },
            {
                "id": "3",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",
                "status":"已发布"
            },
            {
                "id": "4",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",
                "status":"已发布"
            },
            {
                "id": "5",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",
                "status":"已发布"
            },
            {
                "id": "6",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",
                "status":"已发布"
            },
            {
                "id": "7",
                "image": BASE_IP + '/images/1178012.png',
                "title": "快乐儿童",
                "createDate": "2015-03-31 10:51",
                "status":"已发布"

            }
        ]

    };
    res.set('Content-Type', 'application/json');
    res.json(obj);
}
router.get('/getMyDesignItems', getMyDesignItems);
router.post('/getMyDesignItems', getMyDesignItems);


//------------------------------------------------------------------

/* 发表评论. */
//参数
//      designId, 作品id
//      userId,用户id
//      content = "xxxx";
//返回
//    { ret:"success","status":"0","data":{"id":"596","content":"xxx","createDate": "2015-03-31 10:51","userId": "26.800000","userHeadImg":"http://xxx","userName": "涔涔"}}
function saveComment(req, res, next) {
    var content = req.query.content || req.body.content ||"";
    var designId = req.query.designId || req.body.designId;
    var userId = req.query.userId || req.body.userId;

    var obj = {
        ret:'success',status:'0',
        "data":
        {
            "id": "3",
            "content": content,
            "createDate": "2015-03-31 10:51",

            "userId": "26.800000",
            "userHeadImg": BASE_IP + '/images/1178012.png',
            "userName": "涔涔"
        }
    };
    res.set('Content-Type', 'application/json');
    res.json(obj);
}
router.get('/saveComment', saveComment);
router.post('/saveComment', saveComment);

//------------------------------------------------------------------

/* 赞. */
//参数
//      designId, 作品id
//      userId,用户id
//返回
//    { ret:"success","status":"0",}
function praise(req, res, next) {
    var designId = req.query.designId || req.body.designId;
    var userId = req.query.userId || req.body.userId;



        var obj = {
            ret:'success',status:'0'
        };
        res.set('Content-Type', 'application/json');
        res.json(obj);

}
router.get('/praise', praise);
router.post('/praise', praise);

//------------------------------------------------------------------
//------------------------------------------------------------------

/* 分享. */
//参数
//      designId, 作品id
//      userId,用户id
//返回
//    { ret:"success","status":"0"}
function share(req, res, next) {
    var designId = req.query.designId || req.body.designId;
    var userId = req.query.userId || req.body.userId;



        var obj = {
            ret:'success',status:'0'
        };
        res.set('Content-Type', 'application/json');
        res.json(obj);

}
router.get('/share', share);
router.post('/share', share);

//------------------------------------------------------------------

//------------------------------------------------------------------
/**
 * 取母版列表
 * 参数 pageNum: 页码,从0开始[为空时默认为0]
 * 参数 pageSize: 每页容量[等于0或为空时忽略pageNum获取全部记录]
 */
function getMstTmplList(req, res, next) {
    res.header("Access-Control-Allow-Origin", "*");   //设置跨域访问

    var pageNum = Number(req.body.pageNum || req.query.pageNum || 0);
    var pageSize = Number(req.body.pageSize || req.query.pageSize || 0);

    // 分页: 跳过条数
    var skipCnt = pageNum * pageSize;
    if (pageSize == 0) pageSize = null;

    var obj = {
        success:1,
        msg:'success',
        data:[
            {
                tmpl_id: 1,
                tmpl_name: 'Mst01',
                //data:'{"ct":403,"head":{"ct":401,"flag":"SJG_T","ver":2,"author":"","create_time":"","update_time":"","name":"XC01"},"body":{"ct":404,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":1600,"h":900},"pages":[]},"max_id":32}',
                thumb:'http://itbour-generate.oss-cn-hangzhou.aliyuncs.com/image/U1/2016/05/06/163458140_6610233408864588/0.jpg'
            },
            {
                tmpl_id: 2,
                tmpl_name: 'Mst02',
                //data:'{"ct":403,"head":{"ct":401,"flag":"SJG_T","ver":2,"author":"","create_time":"","update_time":"","name":"XC01"},"body":{"ct":404,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":1600,"h":900},"pages":[]},"max_id":32}',
                thumb:'http://itbour-generate.oss-cn-hangzhou.aliyuncs.com/image/U1/2016/05/06/163458140_6610233408864588/1.jpg'
            },
        ]
    };
    res.set('Content-Type', 'application/json');
    res.json(obj);
}
router.get('/getMstTmplList', getMstTmplList);
router.post('/getMstTmplList', getMstTmplList);

//------------------------------------------------------------------
/**
 * 取母版页信息
 * 参数 mstId: 母版ID
 * 参数 pageNum: 页码,从0开始[为空时默认为0]
 * 参数 pageSize: 每页容量[等于0或为空时忽略pageNum获取全部记录]
 */
function getMstTmplPageInfo(req, res, next) {
    res.header("Access-Control-Allow-Origin", "*");   //设置跨域访问

    var mstId = req.query.mstId || req.body.mstId;
    var pageNum = Number(req.body.pageNum || req.query.pageNum || 0);
    var pageSize = Number(req.body.pageSize || req.query.pageSize || 0);

    // 分页: 跳过条数
    var skipCnt = pageNum * pageSize;
    if (pageSize == 0) pageSize = null;

    function ret_func(success, msg, data){
        var obj = {
            success: success,
            msg: msg,
            data: data
        };
        // 返回
        res.set('Content-Type', 'application/json');
        res.json(obj);
    }

    // check parameter
    if(typeof mstId=='undefined' || mstId == null || mstId.trim().length == 0){
        return ret_func(0,'母版ID为空');
    }

    if (mstId != 1) {
        return ret_func(1,CODE.OPERATION_SUCCESS,[]);
    }

    var retData = [
        {
            tmpl_id:1,
            page_id:1,
            page_index:0,
            thumb:'http://itbour-generate.oss-cn-hangzhou.aliyuncs.com/image/U2/2016/05/18/181726289_lcVYaTQzVnmucayf3ora/0.jpg',
            replaces:'[{"ct":801,"kind":8,"min":1,"max":4,"id":17,"value":[{"ct":812,"type":90,"id":18,"image":{"ct":805,"type":30,"id":24,"value":"","pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0}},"textArr":{"ct":811,"type":80,"id":0,"value":[{"ct":810,"type":70,"id":23,"value":"","min":0,"max":100,"tt":0}]}},{"ct":812,"type":90,"id":19,"image":{"ct":805,"type":30,"id":26,"value":"","pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0}},"textArr":{"ct":811,"type":80,"id":0,"value":[{"ct":810,"type":70,"id":25,"value":"","min":0,"max":100,"tt":0}]}},{"ct":812,"type":90,"id":20,"image":{"ct":805,"type":30,"id":28,"value":"","pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0}},"textArr":{"ct":811,"type":80,"id":0,"value":[{"ct":810,"type":70,"id":27,"value":"","min":0,"max":100,"tt":0}]}}],"advance":{"extend_style":0,"extend_method":1,"align_point":7,"header_type":0,"limit":4,"count":3}}]',
            data:'{"ct":402,"describe":{"ct":4,"index":0,"id":4,"play_time":1,"show_style":0,"disappear_style":0,"backup_flg":0},"root":{"ct":607,"id":3,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":1600,"h":900},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":608,"id":17,"pos":{"ct":2,"x":672.188,"y":73.281,"an":0,"w":600,"h":598.281},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":607,"id":18,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":600,"h":199.427},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":606,"id":23,"pos":{"ct":2,"x":0,"y":15.782,"an":0,"w":500,"h":127.031},"al":1,"color":{"ct":202,"r":0,"g":0,"b":0},"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"fn":"微软雅黑","fs":80,"fz":64,"bi":0,"po":1,"vpo":1,"cs":4,"ls":8,"te":"图片0","td":0,"pc":{"paras":[{"chars":[{"paths":[{"points":[[0.000,-4032.000,8],[4416.000,-4032.000,1],[4416.000,704.000,1],[4032.000,704.000,1],[4032.000,448.000,1],[384.000,448.000,1],[384.000,704.000,1],[0.000,704.000,1],[0.000,-4032.000,1]],"w":0,"h":0},{"points":[[4032.000,-3648.000,8],[384.000,-3648.000,1],[384.000,64.000,1],[4032.000,64.000,1],[4032.000,-3648.000,1]],"w":0,"h":0},{"points":[[576.000,-2421.000,8],[1238.000,-2915.000,2],[1664.000,-3584.000,2],[1984.000,-3429.000,1],[1904.000,-3312.000,2],[1811.000,-3200.000,2],[3584.000,-3200.000,1],[3584.000,-2895.000,1],[3211.000,-2434.000,2],[2633.000,-2063.000,2],[3152.000,-1890.000,2],[3904.000,-1792.000,2],[3789.000,-1562.000,2],[3739.000,-1408.000,2],[2864.000,-1629.000,2],[2260.000,-1907.000,2],[1641.000,-1619.000,2],[618.000,-1344.000,2],[548.000,-1501.000,2],[448.000,-1648.000,2],[1338.000,-1846.000,2],[1919.000,-2102.000,2],[1580.000,-2340.000,2],[1335.000,-2650.000,2],[1099.000,-2408.000,2],[821.000,-2176.000,2],[721.000,-2281.000,2],[576.000,-2421.000,2]],"w":0,"h":0},{"points":[[896.000,-576.000,8],[1001.000,-896.000,1],[2244.000,-704.000,2],[3392.000,-448.000,2],[3257.000,-64.000,1],[2159.000,-363.000,2],[896.000,-576.000,2]],"w":0,"h":0},{"points":[[3089.000,-2880.000,8],[1560.000,-2880.000,1],[1552.000,-2870.000,2],[1545.000,-2862.000,2],[1826.000,-2496.000,2],[2254.000,-2260.000,2],[2778.000,-2533.000,2],[3089.000,-2880.000,2]],"w":0,"h":0},{"points":[[1408.000,-1216.000,8],[1508.000,-1536.000,1],[2252.000,-1423.000,2],[3072.000,-1280.000,2],[2967.000,-960.000,1],[2137.000,-1119.000,2],[1408.000,-1216.000,2]],"w":0,"h":0}],"w":4416,"h":4736,"x":0,"y":-4032,"bx":0,"by":72},{"paths":[{"points":[[768.000,-4160.000,8],[1167.000,-4160.000,1],[1167.000,-2816.000,1],[3008.000,-2816.000,1],[3008.000,-4224.000,1],[3456.000,-4224.000,1],[3456.000,-2816.000,1],[4736.000,-2816.000,1],[4736.000,-2432.000,1],[1167.000,-2432.000,1],[1167.000,-2106.000,2],[1152.000,-1536.000,2],[3648.000,-1536.000,1],[3648.000,704.000,1],[3200.000,704.000,1],[3200.000,-1152.000,1],[1122.000,-1152.000,1],[1025.000,-54.000,2],[315.000,704.000,2],[180.000,517.000,2],[0.000,336.000,2],[459.000,-153.000,2],[613.000,-647.000,2],[768.000,-1090.000,2],[768.000,-2068.000,2],[768.000,-4160.000,1]],"w":0,"h":0}],"w":4736,"h":4928,"x":0,"y":-4224,"bx":73,"by":72},{"paths":[{"points":[[0.000,-1844.000,8],[0.000,-2861.000,2],[340.000,-3382.000,2],[681.000,-3904.000,2],[1328.000,-3904.000,2],[2560.000,-3904.000,2],[2560.000,-1936.000,2],[2560.000,-965.000,2],[2213.000,-450.000,2],[1866.000,64.000,2],[1240.000,64.000,2],[649.000,64.000,2],[324.000,-424.000,2],[0.000,-913.000,2],[0.000,-1844.000,2]],"w":0,"h":0},{"points":[[512.000,-1867.000,8],[512.000,-320.000,2],[1286.000,-320.000,2],[2048.000,-320.000,2],[2048.000,-1892.000,2],[2048.000,-3520.000,2],[1301.000,-3520.000,2],[512.000,-3520.000,2],[512.000,-1867.000,2]],"w":0,"h":0}],"w":2560,"h":3968,"x":0,"y":-3904,"bx":151,"by":72}],"w":0,"h":0}],"w":0,"h":0},"min":0,"max":100,"tt":0,"hp":1,"hd":20},{"ct":602,"id":24,"pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"al":1,"bgal":1,"strokewidth":0,"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0},"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"source":"http://itbour-back.oss-cn-hangzhou.aliyuncs.com/image/U2/2016/05/13/102656453_RYVpjnMjgpygTcqO1zWl","image":{"ct":2,"x":0,"y":-48.578,"an":0,"w":272.313,"h":272.313}}]},{"ct":607,"id":19,"pos":{"ct":2,"x":0,"y":199.427,"an":0,"w":600,"h":199.427},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":606,"id":25,"pos":{"ct":2,"x":0,"y":15.782,"an":0,"w":500,"h":127.031},"al":1,"color":{"ct":202,"r":0,"g":0,"b":0},"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"fn":"微软雅黑","fs":80,"fz":64,"bi":0,"po":1,"vpo":1,"cs":4,"ls":8,"te":"图片0","td":0,"pc":{"paras":[{"chars":[{"paths":[{"points":[[0.000,-4032.000,8],[4416.000,-4032.000,1],[4416.000,704.000,1],[4032.000,704.000,1],[4032.000,448.000,1],[384.000,448.000,1],[384.000,704.000,1],[0.000,704.000,1],[0.000,-4032.000,1]],"w":0,"h":0},{"points":[[4032.000,-3648.000,8],[384.000,-3648.000,1],[384.000,64.000,1],[4032.000,64.000,1],[4032.000,-3648.000,1]],"w":0,"h":0},{"points":[[576.000,-2421.000,8],[1238.000,-2915.000,2],[1664.000,-3584.000,2],[1984.000,-3429.000,1],[1904.000,-3312.000,2],[1811.000,-3200.000,2],[3584.000,-3200.000,1],[3584.000,-2895.000,1],[3211.000,-2434.000,2],[2633.000,-2063.000,2],[3152.000,-1890.000,2],[3904.000,-1792.000,2],[3789.000,-1562.000,2],[3739.000,-1408.000,2],[2864.000,-1629.000,2],[2260.000,-1907.000,2],[1641.000,-1619.000,2],[618.000,-1344.000,2],[548.000,-1501.000,2],[448.000,-1648.000,2],[1338.000,-1846.000,2],[1919.000,-2102.000,2],[1580.000,-2340.000,2],[1335.000,-2650.000,2],[1099.000,-2408.000,2],[821.000,-2176.000,2],[721.000,-2281.000,2],[576.000,-2421.000,2]],"w":0,"h":0},{"points":[[896.000,-576.000,8],[1001.000,-896.000,1],[2244.000,-704.000,2],[3392.000,-448.000,2],[3257.000,-64.000,1],[2159.000,-363.000,2],[896.000,-576.000,2]],"w":0,"h":0},{"points":[[3089.000,-2880.000,8],[1560.000,-2880.000,1],[1552.000,-2870.000,2],[1545.000,-2862.000,2],[1826.000,-2496.000,2],[2254.000,-2260.000,2],[2778.000,-2533.000,2],[3089.000,-2880.000,2]],"w":0,"h":0},{"points":[[1408.000,-1216.000,8],[1508.000,-1536.000,1],[2252.000,-1423.000,2],[3072.000,-1280.000,2],[2967.000,-960.000,1],[2137.000,-1119.000,2],[1408.000,-1216.000,2]],"w":0,"h":0}],"w":4416,"h":4736,"x":0,"y":-4032,"bx":0,"by":72},{"paths":[{"points":[[768.000,-4160.000,8],[1167.000,-4160.000,1],[1167.000,-2816.000,1],[3008.000,-2816.000,1],[3008.000,-4224.000,1],[3456.000,-4224.000,1],[3456.000,-2816.000,1],[4736.000,-2816.000,1],[4736.000,-2432.000,1],[1167.000,-2432.000,1],[1167.000,-2106.000,2],[1152.000,-1536.000,2],[3648.000,-1536.000,1],[3648.000,704.000,1],[3200.000,704.000,1],[3200.000,-1152.000,1],[1122.000,-1152.000,1],[1025.000,-54.000,2],[315.000,704.000,2],[180.000,517.000,2],[0.000,336.000,2],[459.000,-153.000,2],[613.000,-647.000,2],[768.000,-1090.000,2],[768.000,-2068.000,2],[768.000,-4160.000,1]],"w":0,"h":0}],"w":4736,"h":4928,"x":0,"y":-4224,"bx":73,"by":72},{"paths":[{"points":[[0.000,-1844.000,8],[0.000,-2861.000,2],[340.000,-3382.000,2],[681.000,-3904.000,2],[1328.000,-3904.000,2],[2560.000,-3904.000,2],[2560.000,-1936.000,2],[2560.000,-965.000,2],[2213.000,-450.000,2],[1866.000,64.000,2],[1240.000,64.000,2],[649.000,64.000,2],[324.000,-424.000,2],[0.000,-913.000,2],[0.000,-1844.000,2]],"w":0,"h":0},{"points":[[512.000,-1867.000,8],[512.000,-320.000,2],[1286.000,-320.000,2],[2048.000,-320.000,2],[2048.000,-1892.000,2],[2048.000,-3520.000,2],[1301.000,-3520.000,2],[512.000,-3520.000,2],[512.000,-1867.000,2]],"w":0,"h":0}],"w":2560,"h":3968,"x":0,"y":-3904,"bx":151,"by":72}],"w":0,"h":0}],"w":0,"h":0},"min":0,"max":100,"tt":0,"hp":1,"hd":20},{"ct":602,"id":26,"pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"al":1,"bgal":1,"strokewidth":0,"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0},"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"source":"http://itbour-back.oss-cn-hangzhou.aliyuncs.com/image/U2/2016/05/13/102656453_RYVpjnMjgpygTcqO1zWl","image":{"ct":2,"x":0,"y":-48.578,"an":0,"w":272.313,"h":272.313}}]},{"ct":607,"id":20,"pos":{"ct":2,"x":0,"y":398.855,"an":0,"w":600,"h":199.427},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":606,"id":27,"pos":{"ct":2,"x":0,"y":15.782,"an":0,"w":500,"h":127.031},"al":1,"color":{"ct":202,"r":0,"g":0,"b":0},"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"fn":"微软雅黑","fs":80,"fz":64,"bi":0,"po":1,"vpo":1,"cs":4,"ls":8,"te":"图片0","td":0,"pc":{"paras":[{"chars":[{"paths":[{"points":[[0.000,-4032.000,8],[4416.000,-4032.000,1],[4416.000,704.000,1],[4032.000,704.000,1],[4032.000,448.000,1],[384.000,448.000,1],[384.000,704.000,1],[0.000,704.000,1],[0.000,-4032.000,1]],"w":0,"h":0},{"points":[[4032.000,-3648.000,8],[384.000,-3648.000,1],[384.000,64.000,1],[4032.000,64.000,1],[4032.000,-3648.000,1]],"w":0,"h":0},{"points":[[576.000,-2421.000,8],[1238.000,-2915.000,2],[1664.000,-3584.000,2],[1984.000,-3429.000,1],[1904.000,-3312.000,2],[1811.000,-3200.000,2],[3584.000,-3200.000,1],[3584.000,-2895.000,1],[3211.000,-2434.000,2],[2633.000,-2063.000,2],[3152.000,-1890.000,2],[3904.000,-1792.000,2],[3789.000,-1562.000,2],[3739.000,-1408.000,2],[2864.000,-1629.000,2],[2260.000,-1907.000,2],[1641.000,-1619.000,2],[618.000,-1344.000,2],[548.000,-1501.000,2],[448.000,-1648.000,2],[1338.000,-1846.000,2],[1919.000,-2102.000,2],[1580.000,-2340.000,2],[1335.000,-2650.000,2],[1099.000,-2408.000,2],[821.000,-2176.000,2],[721.000,-2281.000,2],[576.000,-2421.000,2]],"w":0,"h":0},{"points":[[896.000,-576.000,8],[1001.000,-896.000,1],[2244.000,-704.000,2],[3392.000,-448.000,2],[3257.000,-64.000,1],[2159.000,-363.000,2],[896.000,-576.000,2]],"w":0,"h":0},{"points":[[3089.000,-2880.000,8],[1560.000,-2880.000,1],[1552.000,-2870.000,2],[1545.000,-2862.000,2],[1826.000,-2496.000,2],[2254.000,-2260.000,2],[2778.000,-2533.000,2],[3089.000,-2880.000,2]],"w":0,"h":0},{"points":[[1408.000,-1216.000,8],[1508.000,-1536.000,1],[2252.000,-1423.000,2],[3072.000,-1280.000,2],[2967.000,-960.000,1],[2137.000,-1119.000,2],[1408.000,-1216.000,2]],"w":0,"h":0}],"w":4416,"h":4736,"x":0,"y":-4032,"bx":0,"by":72},{"paths":[{"points":[[768.000,-4160.000,8],[1167.000,-4160.000,1],[1167.000,-2816.000,1],[3008.000,-2816.000,1],[3008.000,-4224.000,1],[3456.000,-4224.000,1],[3456.000,-2816.000,1],[4736.000,-2816.000,1],[4736.000,-2432.000,1],[1167.000,-2432.000,1],[1167.000,-2106.000,2],[1152.000,-1536.000,2],[3648.000,-1536.000,1],[3648.000,704.000,1],[3200.000,704.000,1],[3200.000,-1152.000,1],[1122.000,-1152.000,1],[1025.000,-54.000,2],[315.000,704.000,2],[180.000,517.000,2],[0.000,336.000,2],[459.000,-153.000,2],[613.000,-647.000,2],[768.000,-1090.000,2],[768.000,-2068.000,2],[768.000,-4160.000,1]],"w":0,"h":0}],"w":4736,"h":4928,"x":0,"y":-4224,"bx":73,"by":72},{"paths":[{"points":[[0.000,-1844.000,8],[0.000,-2861.000,2],[340.000,-3382.000,2],[681.000,-3904.000,2],[1328.000,-3904.000,2],[2560.000,-3904.000,2],[2560.000,-1936.000,2],[2560.000,-965.000,2],[2213.000,-450.000,2],[1866.000,64.000,2],[1240.000,64.000,2],[649.000,64.000,2],[324.000,-424.000,2],[0.000,-913.000,2],[0.000,-1844.000,2]],"w":0,"h":0},{"points":[[512.000,-1867.000,8],[512.000,-320.000,2],[1286.000,-320.000,2],[2048.000,-320.000,2],[2048.000,-1892.000,2],[2048.000,-3520.000,2],[1301.000,-3520.000,2],[512.000,-3520.000,2],[512.000,-1867.000,2]],"w":0,"h":0}],"w":2560,"h":3968,"x":0,"y":-3904,"bx":151,"by":72}],"w":0,"h":0}],"w":0,"h":0},"min":0,"max":100,"tt":0,"hp":1,"hd":20},{"ct":602,"id":28,"pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"al":1,"bgal":1,"strokewidth":0,"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0},"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"source":"http://itbour-back.oss-cn-hangzhou.aliyuncs.com/image/U2/2016/05/13/102656453_RYVpjnMjgpygTcqO1zWl","image":{"ct":2,"x":0,"y":-48.578,"an":0,"w":272.313,"h":272.313}}]}]}]},"replaces":[{"ct":801,"kind":8,"min":1,"max":4,"id":17,"value":[{"ct":812,"type":90,"id":18,"image":{"ct":805,"type":30,"id":24,"value":"","pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0}},"textArr":{"ct":811,"type":80,"id":0,"value":[{"ct":810,"type":70,"id":23,"value":"","min":0,"max":100,"tt":0}]}},{"ct":812,"type":90,"id":19,"image":{"ct":805,"type":30,"id":26,"value":"","pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0}},"textArr":{"ct":811,"type":80,"id":0,"value":[{"ct":810,"type":70,"id":25,"value":"","min":0,"max":100,"tt":0}]}},{"ct":812,"type":90,"id":20,"image":{"ct":805,"type":30,"id":28,"value":"","pos":{"ct":2,"x":237.53,"y":0,"an":0,"w":272.313,"h":175.157},"mask":{"paths":[{"points":[[0.000,0.000,8],[272.313,0.000,1],[272.313,175.157,1],[0.000,175.157,1],[0.000,0.000,9]],"w":0,"h":0}],"w":272.31329690346087,"h":175.1566560541799,"x":0,"y":0}},"textArr":{"ct":811,"type":80,"id":0,"value":[{"ct":810,"type":70,"id":27,"value":"","min":0,"max":100,"tt":0}]}}],"advance":{"extend_style":0,"extend_method":1,"align_point":7,"header_type":0,"limit":4,"count":3}}]}'
        },
        {
            tmpl_id:1,
            page_id:2,
            page_index:1,
            thumb:'http://itbour-generate.oss-cn-hangzhou.aliyuncs.com/image/U2/2016/05/18/181726289_lcVYaTQzVnmucayf3ora/1.jpg',
            replaces:'[]',
            data:'{"ct":402,"describe":{"ct":4,"index":1,"id":2,"play_time":1,"show_style":0,"disappear_style":0,"backup_flg":0},"root":{"ct":607,"id":1,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":1600,"h":900},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":603,"id":7,"pos":{"ct":2,"x":334.688,"y":92.813,"an":0,"w":100,"h":76.75},"al":1,"color":{"ct":202,"r":230,"g":121,"b":90},"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"cp":{"paths":[{"points":[[70.030,0.000,8],[79.760,9.740,1],[56.350,33.150,1],[67.030,43.830,1],[90.440,20.420,1],[100.000,29.980,1],[100.000,0.000,1],[100.000,0.000,3],[70.030,0.000,3],[70.030,0.000,3],[70.030,0.000,9]],"w":0,"h":0},{"points":[[91.240,67.980,8],[8.760,67.980,1],[8.760,8.760,1],[52.510,8.760,1],[52.510,0.000,1],[0.000,0.000,1],[0.000,76.750,1],[100.000,76.750,1],[100.000,50.050,1],[91.240,50.050,1],[91.240,50.050,3],[91.240,67.980,3],[91.240,67.980,3],[91.240,67.980,9]],"w":0,"h":0}],"w":100,"h":76.75,"x":0,"y":0},"gt":0,"ar":0},{"ct":606,"id":8,"pos":{"ct":2,"x":451.406,"y":284.375,"an":0,"w":500,"h":300},"al":1,"color":{"ct":202,"r":0,"g":0,"b":0},"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"fn":"微软雅黑","fs":80,"fz":64,"bi":0,"po":1,"vpo":1,"cs":4,"ls":8,"te":"FEAWF","td":0,"pc":{"paras":[{"chars":[{"paths":[{"points":[[1984.000,-3392.000,8],[512.000,-3392.000,1],[512.000,-2112.000,1],[1856.000,-2112.000,1],[1856.000,-1664.000,1],[512.000,-1664.000,1],[512.000,0.000,1],[0.000,0.000,1],[0.000,-3840.000,1],[1984.000,-3840.000,1],[1984.000,-3392.000,1]],"w":0,"h":0}],"w":1984,"h":3840,"x":0,"y":-3840,"bx":0,"by":72},{"paths":[{"points":[[2112.000,0.000,8],[0.000,0.000,1],[0.000,-3840.000,1],[2048.000,-3840.000,1],[2048.000,-3392.000,1],[512.000,-3392.000,1],[512.000,-2176.000,1],[1920.000,-2176.000,1],[1920.000,-1728.000,1],[512.000,-1728.000,1],[512.000,-448.000,1],[2112.000,-448.000,1],[2112.000,0.000,1]],"w":0,"h":0}],"w":2112,"h":3840,"x":0,"y":-3840,"bx":35,"by":72},{"paths":[{"points":[[3456.000,0.000,8],[2880.000,0.000,1],[2498.000,-1024.000,1],[937.000,-1024.000,1],[576.000,0.000,1],[0.000,0.000,1],[1472.000,-3840.000,1],[1984.000,-3840.000,1],[3456.000,0.000,1]],"w":0,"h":0},{"points":[[2368.000,-1472.000,8],[1783.000,-3061.000,1],[1756.000,-3138.000,2],[1723.000,-3328.000,2],[1711.000,-3328.000,1],[1683.000,-3155.000,2],[1648.000,-3061.000,2],[1068.000,-1472.000,1],[2368.000,-1472.000,1]],"w":0,"h":0}],"w":3456,"h":3840,"x":0,"y":-3840,"bx":72,"by":72},{"paths":[{"points":[[5056.000,-3840.000,8],[3968.000,0.000,1],[3392.000,0.000,1],[2681.000,-2743.000,1],[2633.000,-2930.000,2],[2624.000,-3136.000,2],[2624.000,-3136.000,1],[2608.000,-2932.000,2],[2551.000,-2748.000,2],[1728.000,0.000,1],[1152.000,0.000,1],[0.000,-3840.000,1],[576.000,-3840.000,1],[1347.000,-967.000,1],[1398.000,-772.000,2],[1408.000,-576.000,2],[1472.000,-576.000,1],[1484.000,-723.000,2],[1552.000,-967.000,2],[2368.000,-3840.000,1],[2880.000,-3840.000,1],[3590.000,-940.000,1],[3626.000,-797.000,2],[3648.000,-576.000,2],[3712.000,-576.000,1],[3724.000,-736.000,2],[3784.000,-950.000,2],[4544.000,-3840.000,1],[5056.000,-3840.000,1]],"w":0,"h":0}],"w":5056,"h":3840,"x":0,"y":-3840,"bx":130,"by":72},{"paths":[{"points":[[1984.000,-3392.000,8],[512.000,-3392.000,1],[512.000,-2112.000,1],[1856.000,-2112.000,1],[1856.000,-1664.000,1],[512.000,-1664.000,1],[512.000,0.000,1],[0.000,0.000,1],[0.000,-3840.000,1],[1984.000,-3840.000,1],[1984.000,-3392.000,1]],"w":0,"h":0}],"w":1984,"h":3840,"x":0,"y":-3840,"bx":213,"by":72}],"w":0,"h":0}],"w":0,"h":0},"min":0,"max":100,"tt":0,"hp":1,"hd":20}]},"replaces":[]}'
        },
        {
            tmpl_id:1,
            page_id:3,
            page_index:2,
            thumb:'http://itbour-generate.oss-cn-hangzhou.aliyuncs.com/image/U2/2016/05/18/181726289_lcVYaTQzVnmucayf3ora/3.jpg',
            replaces:'[{"ct":801,"kind":7,"min":1,"max":4,"id":9,"value":[{"ct":811,"type":80,"id":10,"value":[{"ct":810,"type":70,"id":14,"value":"","min":0,"max":100,"tt":0}]},{"ct":811,"type":80,"id":11,"value":[{"ct":810,"type":70,"id":15,"value":"","min":0,"max":100,"tt":0}]},{"ct":811,"type":80,"id":12,"value":[{"ct":810,"type":70,"id":16,"value":"","min":0,"max":100,"tt":0}]}],"advance":{"extend_style":0,"extend_method":1,"align_point":7,"header_type":0,"limit":4,"count":3}}]',
            data:'{"ct":402,"describe":{"ct":4,"index":3,"id":6,"play_time":1,"show_style":0,"disappear_style":0,"backup_flg":0},"root":{"ct":607,"id":5,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":1600,"h":900},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":608,"id":9,"pos":{"ct":2,"x":493.594,"y":175.938,"an":0,"w":600,"h":400},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":607,"id":10,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":600,"h":133.333},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":606,"id":14,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":500,"h":300},"al":1,"color":{"ct":202,"r":0,"g":0,"b":0},"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"fn":"微软雅黑","fs":80,"fz":64,"bi":0,"po":1,"vpo":1,"cs":4,"ls":8,"te":"few","td":0,"pc":{"paras":[{"chars":[{"paths":[{"points":[[1728.000,-3696.000,8],[1589.000,-3776.000,2],[1426.000,-3776.000,2],[960.000,-3776.000,2],[960.000,-3182.000,2],[960.000,-2752.000,1],[1600.000,-2752.000,1],[1600.000,-2368.000,1],[960.000,-2368.000,1],[960.000,0.000,1],[448.000,0.000,1],[448.000,-2368.000,1],[0.000,-2368.000,1],[0.000,-2752.000,1],[448.000,-2752.000,1],[448.000,-3193.000,1],[448.000,-3645.000,2],[712.000,-3902.000,2],[976.000,-4160.000,2],[1383.000,-4160.000,2],[1599.000,-4160.000,2],[1728.000,-4080.000,2],[1728.000,-3696.000,1]],"w":0,"h":0}],"w":1728,"h":4160,"x":0,"y":-4160,"bx":0,"by":72},{"paths":[{"points":[[2432.000,-1280.000,8],[512.000,-1280.000,1],[524.000,-821.000,2],[753.000,-570.000,2],[982.000,-320.000,2],[1392.000,-320.000,2],[1855.000,-320.000,2],[2240.000,-656.000,2],[2240.000,-272.000,1],[1875.000,64.000,2],[1273.000,64.000,2],[673.000,64.000,2],[336.000,-314.000,2],[0.000,-692.000,2],[0.000,-1364.000,2],[0.000,-1995.000,2],[368.000,-2405.000,2],[736.000,-2816.000,2],[1282.000,-2816.000,2],[1823.000,-2816.000,2],[2127.000,-2475.000,2],[2432.000,-2135.000,2],[2432.000,-1522.000,2],[2432.000,-1280.000,1]],"w":0,"h":0},{"points":[[1920.000,-1664.000,8],[1918.000,-2031.000,2],[1747.000,-2231.000,2],[1577.000,-2432.000,2],[1267.000,-2432.000,2],[982.000,-2432.000,2],[774.000,-2219.000,2],[566.000,-2006.000,2],[512.000,-1664.000,2],[1920.000,-1664.000,1]],"w":0,"h":0}],"w":2432,"h":2880,"x":0,"y":-2816,"bx":31,"by":72},{"paths":[{"points":[[3904.000,-2752.000,8],[3136.000,0.000,1],[2624.000,0.000,1],[2064.000,-1914.000,1],[2029.000,-2038.000,2],[2018.000,-2176.000,2],[2008.000,-2176.000,1],[2001.000,-2072.000,2],[1950.000,-1919.000,2],[1344.000,0.000,1],[832.000,0.000,1],[0.000,-2752.000,1],[512.000,-2752.000,1],[1051.000,-701.000,1],[1076.000,-608.000,2],[1088.000,-448.000,2],[1152.000,-448.000,1],[1162.000,-586.000,2],[1199.000,-708.000,2],[1792.000,-2752.000,1],[2240.000,-2752.000,1],[2836.000,-703.000,1],[2861.000,-613.000,2],[2877.000,-448.000,2],[2900.000,-448.000,1],[2905.000,-558.000,2],[2943.000,-703.000,2],[3456.000,-2752.000,1],[3904.000,-2752.000,1]],"w":0,"h":0}],"w":3904,"h":2752,"x":0,"y":-2752,"bx":73,"by":72}],"w":0,"h":0}],"w":0,"h":0},"min":0,"max":100,"tt":0,"hp":1,"hd":20}]},{"ct":607,"id":11,"pos":{"ct":2,"x":0,"y":133.333,"an":0,"w":600,"h":133.333},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":606,"id":15,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":500,"h":300},"al":1,"color":{"ct":202,"r":0,"g":0,"b":0},"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"fn":"微软雅黑","fs":80,"fz":64,"bi":0,"po":1,"vpo":1,"cs":4,"ls":8,"te":"few","td":0,"pc":{"paras":[{"chars":[{"paths":[{"points":[[1728.000,-3696.000,8],[1589.000,-3776.000,2],[1426.000,-3776.000,2],[960.000,-3776.000,2],[960.000,-3182.000,2],[960.000,-2752.000,1],[1600.000,-2752.000,1],[1600.000,-2368.000,1],[960.000,-2368.000,1],[960.000,0.000,1],[448.000,0.000,1],[448.000,-2368.000,1],[0.000,-2368.000,1],[0.000,-2752.000,1],[448.000,-2752.000,1],[448.000,-3193.000,1],[448.000,-3645.000,2],[712.000,-3902.000,2],[976.000,-4160.000,2],[1383.000,-4160.000,2],[1599.000,-4160.000,2],[1728.000,-4080.000,2],[1728.000,-3696.000,1]],"w":0,"h":0}],"w":1728,"h":4160,"x":0,"y":-4160,"bx":0,"by":72},{"paths":[{"points":[[2432.000,-1280.000,8],[512.000,-1280.000,1],[524.000,-821.000,2],[753.000,-570.000,2],[982.000,-320.000,2],[1392.000,-320.000,2],[1855.000,-320.000,2],[2240.000,-656.000,2],[2240.000,-272.000,1],[1875.000,64.000,2],[1273.000,64.000,2],[673.000,64.000,2],[336.000,-314.000,2],[0.000,-692.000,2],[0.000,-1364.000,2],[0.000,-1995.000,2],[368.000,-2405.000,2],[736.000,-2816.000,2],[1282.000,-2816.000,2],[1823.000,-2816.000,2],[2127.000,-2475.000,2],[2432.000,-2135.000,2],[2432.000,-1522.000,2],[2432.000,-1280.000,1]],"w":0,"h":0},{"points":[[1920.000,-1664.000,8],[1918.000,-2031.000,2],[1747.000,-2231.000,2],[1577.000,-2432.000,2],[1267.000,-2432.000,2],[982.000,-2432.000,2],[774.000,-2219.000,2],[566.000,-2006.000,2],[512.000,-1664.000,2],[1920.000,-1664.000,1]],"w":0,"h":0}],"w":2432,"h":2880,"x":0,"y":-2816,"bx":31,"by":72},{"paths":[{"points":[[3904.000,-2752.000,8],[3136.000,0.000,1],[2624.000,0.000,1],[2064.000,-1914.000,1],[2029.000,-2038.000,2],[2018.000,-2176.000,2],[2008.000,-2176.000,1],[2001.000,-2072.000,2],[1950.000,-1919.000,2],[1344.000,0.000,1],[832.000,0.000,1],[0.000,-2752.000,1],[512.000,-2752.000,1],[1051.000,-701.000,1],[1076.000,-608.000,2],[1088.000,-448.000,2],[1152.000,-448.000,1],[1162.000,-586.000,2],[1199.000,-708.000,2],[1792.000,-2752.000,1],[2240.000,-2752.000,1],[2836.000,-703.000,1],[2861.000,-613.000,2],[2877.000,-448.000,2],[2900.000,-448.000,1],[2905.000,-558.000,2],[2943.000,-703.000,2],[3456.000,-2752.000,1],[3904.000,-2752.000,1]],"w":0,"h":0}],"w":3904,"h":2752,"x":0,"y":-2752,"bx":73,"by":72}],"w":0,"h":0}],"w":0,"h":0},"min":0,"max":100,"tt":0,"hp":1,"hd":20}]},{"ct":607,"id":12,"pos":{"ct":2,"x":0,"y":266.667,"an":0,"w":600,"h":133.333},"al":1,"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"children":[{"ct":606,"id":16,"pos":{"ct":2,"x":0,"y":0,"an":0,"w":500,"h":300},"al":1,"color":{"ct":202,"r":0,"g":0,"b":0},"bgal":1,"strokewidth":0,"constrain":{"ct":1,"scale":1,"whratio":1},"lock":0,"fn":"微软雅黑","fs":80,"fz":64,"bi":0,"po":1,"vpo":1,"cs":4,"ls":8,"te":"few","td":0,"pc":{"paras":[{"chars":[{"paths":[{"points":[[1728.000,-3696.000,8],[1589.000,-3776.000,2],[1426.000,-3776.000,2],[960.000,-3776.000,2],[960.000,-3182.000,2],[960.000,-2752.000,1],[1600.000,-2752.000,1],[1600.000,-2368.000,1],[960.000,-2368.000,1],[960.000,0.000,1],[448.000,0.000,1],[448.000,-2368.000,1],[0.000,-2368.000,1],[0.000,-2752.000,1],[448.000,-2752.000,1],[448.000,-3193.000,1],[448.000,-3645.000,2],[712.000,-3902.000,2],[976.000,-4160.000,2],[1383.000,-4160.000,2],[1599.000,-4160.000,2],[1728.000,-4080.000,2],[1728.000,-3696.000,1]],"w":0,"h":0}],"w":1728,"h":4160,"x":0,"y":-4160,"bx":0,"by":72},{"paths":[{"points":[[2432.000,-1280.000,8],[512.000,-1280.000,1],[524.000,-821.000,2],[753.000,-570.000,2],[982.000,-320.000,2],[1392.000,-320.000,2],[1855.000,-320.000,2],[2240.000,-656.000,2],[2240.000,-272.000,1],[1875.000,64.000,2],[1273.000,64.000,2],[673.000,64.000,2],[336.000,-314.000,2],[0.000,-692.000,2],[0.000,-1364.000,2],[0.000,-1995.000,2],[368.000,-2405.000,2],[736.000,-2816.000,2],[1282.000,-2816.000,2],[1823.000,-2816.000,2],[2127.000,-2475.000,2],[2432.000,-2135.000,2],[2432.000,-1522.000,2],[2432.000,-1280.000,1]],"w":0,"h":0},{"points":[[1920.000,-1664.000,8],[1918.000,-2031.000,2],[1747.000,-2231.000,2],[1577.000,-2432.000,2],[1267.000,-2432.000,2],[982.000,-2432.000,2],[774.000,-2219.000,2],[566.000,-2006.000,2],[512.000,-1664.000,2],[1920.000,-1664.000,1]],"w":0,"h":0}],"w":2432,"h":2880,"x":0,"y":-2816,"bx":31,"by":72},{"paths":[{"points":[[3904.000,-2752.000,8],[3136.000,0.000,1],[2624.000,0.000,1],[2064.000,-1914.000,1],[2029.000,-2038.000,2],[2018.000,-2176.000,2],[2008.000,-2176.000,1],[2001.000,-2072.000,2],[1950.000,-1919.000,2],[1344.000,0.000,1],[832.000,0.000,1],[0.000,-2752.000,1],[512.000,-2752.000,1],[1051.000,-701.000,1],[1076.000,-608.000,2],[1088.000,-448.000,2],[1152.000,-448.000,1],[1162.000,-586.000,2],[1199.000,-708.000,2],[1792.000,-2752.000,1],[2240.000,-2752.000,1],[2836.000,-703.000,1],[2861.000,-613.000,2],[2877.000,-448.000,2],[2900.000,-448.000,1],[2905.000,-558.000,2],[2943.000,-703.000,2],[3456.000,-2752.000,1],[3904.000,-2752.000,1]],"w":0,"h":0}],"w":3904,"h":2752,"x":0,"y":-2752,"bx":73,"by":72}],"w":0,"h":0}],"w":0,"h":0},"min":0,"max":100,"tt":0,"hp":1,"hd":20}]}]}]},"replaces":[{"ct":801,"kind":7,"min":1,"max":4,"id":9,"value":[{"ct":811,"type":80,"id":10,"value":[{"ct":810,"type":70,"id":14,"value":"","min":0,"max":100,"tt":0}]},{"ct":811,"type":80,"id":11,"value":[{"ct":810,"type":70,"id":15,"value":"","min":0,"max":100,"tt":0}]},{"ct":811,"type":80,"id":12,"value":[{"ct":810,"type":70,"id":16,"value":"","min":0,"max":100,"tt":0}]}],"advance":{"extend_style":0,"extend_method":1,"align_point":7,"header_type":0,"limit":4,"count":3}}]}'
        },
    ];
    return ret_func(1,CODE.OPERATION_SUCCESS,retData);
}
router.get('/getMstTmplPageInfo', getMstTmplPageInfo);
router.post('/getMstTmplPageInfo', getMstTmplPageInfo);

//------------------------------------------------------------------
module.exports = router;
